package org.gcu.filestorage.api;

public final class ErrorCode {

    public static final int SUCCESS = 0; // 成功
    public static final int PRIVATE_ACCOUNT_EXISTED = 1001;  // 私有账号已存在
    public static final int PUBLIC_ACCOUNT_EXISTED = 1002;  // 公用账号已存在
    public static final int PHONE_NO_EXISTED = 1003;  // 手机号码已存在
    public static final int EMAIL_EXISTED = 1004;  // 电子邮箱已存在
    public static final int EMPLOYEE_ID_EXISTED = 1005;  // 工号/学号已存在
    public static final int REGISTER_ACCOUNT_FAILED = 1006;  // 注册失败
    public static final int APPROVAL_REGISTER_FAILURE = 1007; // 审批注册失败
    public static final int REJECT_REGISTER_FAILURE = 1008; // 拒绝注册失败

    public static final int ACCOUNT_NOT_EXISTED = 1009; // 账号不存在

    public static final int PASSWORD_INCORRECT = 1010; // 密码不正确

    public static final int ACCOUNT_REGISTER_WAITING_APPROVAL = 1011; // 账号注册等待审批

    public static final int TOKEN_INCORRECT = 1012; // Token不正确
    public static final int SUBMIT_APPLY_FAILED = 1013;  // 提交申请失败

    public static final int APPROVAL_APPLY_FAILURE = 1014; // 审批申请失败
    public static final int REJECT_APPLY_FAILURE = 1015; // 拒绝申请失败

    public static final int LIST_FILE_PATH_FAILURE = 1016; // 列举存储文件失败

    public static final int NEW_FOLDER_FAILURE = 1017; // 新建文件夹失败


    public static final int VALIDATE_EMAIL_FAILURE = 1018; // 验证邮箱失败

    public static final int RESET_PASSWORD_FAILURE = 1019; // 重置密码失败

    public static final int DELETE_FOLDER_FAILURE = 1020; // 删除文件夹失败

    public static final int DELETE_FILE_FAILURE = 1021; // 删除文件失败

    public static final int UPLOAD_FILE_FAILURE = 1021; // 上傳文件失败
}
